<?php get_header(); ?>
<?php include (TEMPLATEPATH . '/framework/includes/get_pages_top.php'); ?>

<div class="page_container_bg">
	<div class="page_container">
		<div class="page_content">
			<div class="page_content_text">

		<div id="container">
			<div id="content" role="main">

<?php if ( have_posts() ) : ?>
				<?php	get_template_part( 'loop', 'search' ); ?>
<?php else : ?>
				<div id="post-0" class="post no-results not-found">
					<h2 class="entry-title"><?php _e( 'Nothing Found', 'overall' ); ?></h2>
					<div class="entry-content">
						<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'overall' ); ?></p>
						<form action="<?php bloginfo('url'); ?>/" id="searchform" method="get">
							
							<span class="search_text_span">
								Search for: <input type="text" name="s" id="s" class="small_text" value="<?php if(!$_GET["s"]) { _e( 'Enter your search keywords...', 'overall' ); } else { echo $_GET["s"]; } ?>" />
							</span>
							<span class="submit_span">
								<input type="submit" value="Search" id="searchsubmit">
							</span>
						</form>
						
						
					</div><!-- .entry-content -->
				</div><!-- #post-0 -->
<?php endif; ?>
			</div><!-- #content -->
		</div><!-- #container -->
		
			<div class="page_nav_numbers">
				<?php include (TEMPLATEPATH . '/framework/includes/get_pagination.php'); ?>
			</div>
			
			
			</div>
		</div>
		
		<div class="page_right_content">
	
			
			<div class="page_right_sidebars">	
				<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Sidebars')) {} else { } ?>
				<?php get_sidebar(); ?>
			</div>
			
		</div>

</div>
</div>
<?php get_footer(); ?>
